package com.wtb.javatool.exception;

import java.io.Serializable;

// 自定义异常类，继承自Exception
public class MyException extends Exception implements Serializable {

    private static final long serialVersionUID = 1L;

    // 构造方法，可以根据需要定义多个，例如带错误消息的构造方法
    public MyException() {
        super();
    }

    public MyException(String message) {
        super(message);
    }

    public MyException(String message, Throwable cause) {
        super(message, cause);
    }

    public MyException(Throwable cause) {
        super(cause);
    }

}